<?php
/**
 * 标签添加验证类
 * User: 16
 * Date: 2018/1/25
 */
namespace app\api\validate;

use think\Validate;
use data\model\Article as ArticleModel;

class Notice extends Validate
{
    protected $rule =   [
        'content'  => 'require',
    ];

    protected $message  =   [
        'content.require' => '内容不能为空',
    ];

}